package org.pupil.config;

/**
 * @Description: 属性
 * @Author: pupil
 * @Date: 2024/07/20 下午 6:07
 */
public class Properties {
    private static Integer port; // 端口
    private static String serialization; // 序列化类型
    private static String compression; // 压缩类型
    private static String proxy; // 代理类型
    private static String invoke; // 代理调用类型
    private static RegistryProperties register; // 注册中心类型


    public static Integer getPort() {
        return port;
    }

    public static void setPort(Integer port) {
        Properties.port = port;
    }

    public static String getSerialization() {
        return serialization;
    }

    public static void setSerialization(String serialization) {
        Properties.serialization = serialization;
    }

    public static String getCompression() {
        return compression;
    }

    public static void setCompression(String compression) {
        Properties.compression = compression;
    }

    public static String getProxy() {
        return proxy;
    }

    public static void setProxy(String proxy) {
        Properties.proxy = proxy;
    }

    public static String getInvoke() {
        return invoke;
    }

    public static void setInvoke(String invoke) {
        Properties.invoke = invoke;
    }

    public static RegistryProperties getRegister() {
        return register;
    }

    public static void setRegister(RegistryProperties register) {
        Properties.register = register;
    }
}
